$(window).scroll(function(){
	var scrollTop = $(window).scrollTop();
	if(scrollTop > 66)
		$('#menu').css({position:'fixed',top:'0px'}).stop().animate({'opacity':'0.8'},400);
	else
		$('#menu').css({position:'static'}).stop().animate({'opacity':'1'},400);
});
$('#menu').hover(function(){
	var scrollTop = $(window).scrollTop();
	if(scrollTop > 66){
		$('#menu').stop().animate({'opacity':'1'},400);}
	},function(){
	var scrollTop = $(window).scrollTop();
	if(scrollTop > 66){
		$('#menu').stop().animate({'opacity':'0.8'},400);
	}
});